using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BuildingBlocks.Abstractions.Permissions;

namespace Identity.Application.Contracts.Services
{
    public interface IPermissionBindingService
    {
        Task<IReadOnlyCollection<PermissionBindingDto>> GetBindingsAsync(string serviceName, CancellationToken ct = default);

        Task<string> GetMappedPermissionKeyAsync(string resourceId);
    }
}